<script setup lang="ts">
import { useRouter } from 'vue-router'
const router = useRouter()
const gotTest = () => {
  router.push('/playtest?id=123')
}
</script>

<template>
  <div class="play-page">
    play

    <button @click="gotTest">点击路由切到test页面</button>
  </div>
</template>

<style lang="scss" scoped></style>
